package com.cc.config;

import org.springframework.context.annotation.*;
import org.springframework.stereotype.Controller;

@Configuration
@ComponentScan(value = "com.cc",
        excludeFilters = @ComponentScan.Filter(
                type = FilterType.ANNOTATION,
                classes = Controller.class
        )
)
@PropertySource({"classpath:database.properties"})
@Import({JdbcConfig.class, MyBatisConfig.class})
public class SpringConfig {

}
